package vip.specimen.system.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import vip.specimen.system.datasource.entity.SystemResourceKindEntity;

import java.util.UUID;

/**
 * *@Author: 余浪人
 * *@Date：2021/3/10 14:59
 * *@Email:yulangren520@Gmail.com
 * *@QQ:1368419640
 **/
@Repository
public interface SystemResourceKindRepository extends JpaRepository<SystemResourceKindEntity, UUID>{
    Page<SystemResourceKindEntity> findSystemResourceKindEntityByNameContainingOrderByCreateTimeDesc(String name, Pageable pageable);
}
